/*
 * Created by JFormDesigner on Sun Oct 16 17:45:09 CST 2022
 */

package com.liyu.ui;

import javax.swing.*;
import java.awt.*;

/**
 * @author destiny
 */
public class s1 extends JFrame {
    // JFormDesigner - Variables declaration - DO NOT MODIFY  //GEN-BEGIN:variables  @formatter:off
    private JMenuBar menuBar1;
    private JMenu menu1;
    private JMenuItem menuItem3;
    private JMenu menu2;
    private JMenuItem menuItem2;
    private JMenuItem menuItem1;
    private JPanel panel1;
    private JButton button1;
    private JButton button2;
    private JButton button3;
    private JPanel panel2;
    private JLabel label2;
    private JLabel label1;

    public s1() {
        initComponents();
    }

    private void initComponents() {
        // JFormDesigner - Component initialization - DO NOT MODIFY  //GEN-BEGIN:initComponents  @formatter:off
        menuBar1 = new JMenuBar();
        menu1 = new JMenu();
        menuItem3 = new JMenuItem();
        menu2 = new JMenu();
        menuItem2 = new JMenuItem();
        menuItem1 = new JMenuItem();
        panel1 = new JPanel();
        button1 = new JButton();
        button2 = new JButton();
        button3 = new JButton();
        panel2 = new JPanel();
        label2 = new JLabel();
        label1 = new JLabel();

        //======== this ========
        Container contentPane = getContentPane();
        contentPane.setLayout(new BorderLayout());

        //======== menuBar1 ========
        {

            //======== menu1 ========
            {
                menu1.setText("\u83dc\u5355\uff1f");
                menu1.setActionCommand("\u83dc\u53551");

                //---- menuItem3 ----
                menuItem3.setText("text");
                menu1.add(menuItem3);
            }
            menuBar1.add(menu1);

            //======== menu2 ========
            {
                menu2.setText("\u83dc\u53552\uff1f");
                menu2.setActionCommand("\u83dc\u53552?");

                //---- menuItem2 ----
                menuItem2.setText("text");
                menu2.add(menuItem2);

                //---- menuItem1 ----
                menuItem1.setText("text");
                menu2.add(menuItem1);
            }
            menuBar1.add(menu2);
        }
        setJMenuBar(menuBar1);

        //======== panel1 ========
        {
            panel1.setLayout(new FlowLayout(FlowLayout.CENTER, 17, 5));

            //---- button1 ----
            button1.setText("\u6211\u7684\u5546\u54c1");
            button1.setActionCommand("\u6211\u7684\u5546\u54c1");
            panel1.add(button1);

            //---- button2 ----
            button2.setText("\u5546\u54c1\u6d4f\u89c8");
            panel1.add(button2);

            //---- button3 ----
            button3.setText("\u8d2d\u7269\u8f66");
            button3.setActionCommand("\u8d2d\u7269\u8f66");
            panel1.add(button3);
        }
        contentPane.add(panel1, BorderLayout.NORTH);

        //======== panel2 ========
        {
            panel2.setLayout(new FlowLayout());

            //---- label2 ----
            label2.setText("\u663e\u793a\u4e00\u4e9b\u4fe1\u606f");
            panel2.add(label2);
        }
        contentPane.add(panel2, BorderLayout.SOUTH);

        //---- label1 ----
        label1.setText("\u6b22\u8fce***");
        contentPane.add(label1, BorderLayout.CENTER);
        pack();
        setLocationRelativeTo(null);
        // JFormDesigner - End of component initialization  //GEN-END:initComponents  @formatter:on
    }
    // JFormDesigner - End of variables declaration  //GEN-END:variables  @formatter:on
}
